home *** CD-ROM | disk | FTP | other *** search
/ CDUTIL 13 / CDUTIL #13 Julio 1995.iso / windows / acadwin / ads / cpp / general / adsobj.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-02-08  |  2.0 KB  |  58 lines

  1. /* 
  2.     ADSOBJ.H -
  3.     
  4.     This file:
  5.  
  6.         Declares the principal base class ADS_OBJ for ADS C++
  7.         hierarchy.
  8.  
  9.     (C) Copyright 1988-1994 by Autodesk, Inc.
  10.  
  11.     This program is copyrighted by Autodesk, Inc. and is  licensed
  12.     to you under the following conditions.  You may not distribute
  13.     or  publish the source code of this program in any form.   You
  14.     may  incorporate this code in object form in derivative  works
  15.     provided  such  derivative  works  are  (i.) are  designed and
  16.     intended  to  work  solely  with  Autodesk, Inc. products, and
  17.     (ii.)  contain  Autodesk's  copyright  notice  "(C)  Copyright
  18.     1988-1994 by Autodesk, Inc."
  19.  
  20.     AUTODESK  PROVIDES THIS PROGRAM "AS IS" AND WITH  ALL  FAULTS.
  21.     AUTODESK  SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF  MER-
  22.     CHANTABILITY OR FITNESS FOR A PARTICULAR USE.  AUTODESK,  INC.
  23.     DOES  NOT  WARRANT THAT THE OPERATION OF THE PROGRAM  WILL  BE
  24.     UNINTERRUPTED OR ERROR FREE.
  25.  
  26. */
  27. #ifndef ADSOBJ_H
  28. #define ADSOBJ_H
  29.  
  30. #include "cppstuff.h"
  31.  
  32. //-----------------------------------------------------------------------------
  33. #define     GENERAL_BUFFER_SIZE     4*1024
  34.  
  35. //-----------------------------------------------------------------------------
  36. struct  ADS_OBJ;
  37.  
  38. /******************************************************************************
  39. *                                                                             *
  40. *                               ADS_OBJ class                                 *
  41. *                                                                             *
  42. ******************************************************************************/
  43. //-----------------------------------------------------------------------------
  44. struct  ADS_OBJ
  45. {
  46.     static int          obj_inited;
  47.  
  48.     virtual BOOL        Valid() = 0;
  49.                         ADS_OBJ();
  50.     virtual             ~ADS_OBJ();
  51.  
  52. private:
  53.     BASIC_CPP_STUFF(ADS_OBJ)
  54. };
  55.  
  56.  
  57. #endif
  58.